home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1996 September
/
CHIP Eylül 1996.iso
/
utils
/
povray
/
povmnf.sea
/
POVRAY
/
POV-Ray.rsrc
/
TEXT_405_ bump_map.txt
< prev
next >
Wrap
Text File
|
1994-02-09
|
483b
|
13 lines
// texture normal {} attribute
// create a texture that has a bumpiness corresponding to color index
// image maps into X-Y plane from <0,0,0> to <1,1,0>
bump_map
{ // uses image color or index as bumpiness
gif "plasma3.gif" // the file to read (iff/gif/tga/dump/pot)
map_type 0 // 0=planar, 1=spherical, 2=cylindrical, 5=torus
interpolate 2 // 0=none, 1=linear, 2=bilinear, 4=normalized distance
// [use_color | use_index]
// [once]
bump_size 0.5 // 0…3
} // bump_map